//
//  UIImage+LYAdd.h
//  showtime
//
//  Created by liyp on 2016/12/6.
//  Copyright © 2016年 崔国冠. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (LYAdd)
- (UIImage*)renderOriginal;
- (UIImage*)renderTemplate;
- (UIImage*)renderAutomatic;
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size ;
+ (UIImage *)imageWithColors:(NSArray<UIColor*>*)colors positions:(NSArray<NSNumber*>*)positions size:(CGSize)size;
+ (UIImage *)compressImageWith:(UIImage *)image;
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;
@end
